package cn.bluedot.tea.pojo.domain;

public class PutAndDelivery {

    // 批次, 入库批次(就是采购批次), 出库批次(但是出库是出谁的并不知道)
    private String batch;

    // 数量
    private Double number;

    // 时间
    private String pdTime;

    // 操作人员
    private Integer userId;

    // 剩余库存
    private Double repertory;

    // 出入库类别
    private Integer pdType;

    // 物品名称
    private String name;

    // 出库的时候, 需要记录是那次买的, 可以为空
    private String buyBatch;

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public Double getNumber() {
        return number;
    }

    public void setNumber(Double number) {
        this.number = number;
    }

    public String getPdTime() {
        return pdTime;
    }

    public void setPdTime(String pdTime) {
        this.pdTime = pdTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getRepertory() {
        return repertory;
    }

    public void setRepertory(Double repertory) {
        this.repertory = repertory;
    }

    public Integer getPdType() {
        return pdType;
    }

    public void setPdType(Integer pdType) {
        this.pdType = pdType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBuyBatch() {
        return buyBatch;
    }

    public void setBuyBatch(String buyBatch) {
        this.buyBatch = buyBatch;
    }

    @Override
    public String toString() {
        return "PutAndDelivery{" +
                "batch='" + batch + '\'' +
                ", number=" + number +
                ", pdTime='" + pdTime + '\'' +
                ", userId=" + userId +
                ", repertory=" + repertory +
                ", pdType=" + pdType +
                ", name='" + name + '\'' +
                ", buyBatch='" + buyBatch + '\'' +
                '}';
    }
}
